﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Weather>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Weather
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul>
                <li><a href="/Analyze/Index/<%:ViewData["id"] %>"><span>基本信息</span></a></li>
                <li><a href="javascript:return(false);" class="current"><span>气象信息</span></a></li>
                <li><a href="/Analyze/Stack/<%:ViewData["id"] %>"><span>堆场信息</span></a></li>
                <li><a href="/Analyze/Pool/<%:ViewData["id"] %>"><span>调节水池</span></a></li>
                <li><a href="/Analyze/Material/<%:ViewData["id"] %>"><span>材料信息</span></a></li>
                <li><a href="/Analyze/Settle/<%:ViewData["id"] %>"><span>沉降模型</span></a></li>
	        </ul>
	    </div>
	</div>
    <table class="tableCss" cellspacing="0" cellpadding="0" align="center" border="1" style="margin-top:10px">
        <tr>
        <th class="heightrow" style="width:40px;font-size:12px">月份</th>
        <th class="heightrow" style="font-size:12px">年最大降水量</th>
        <th class="heightrow" style="font-size:12px">年最小降水量</th>
        <th class="heightrow" style="font-size:12px">年平均降水量</th>
        <th class="heightrow" style="font-size:12px">年最大蒸发量</th>
        <th class="heightrow" style="font-size:12px">年最小蒸发量</th>
        <th class="heightrow" style="font-size:12px">年平均蒸发量</th>
        <th class="heightrow" style="font-size:12px">年最大蒸发量（蒸发皿）</th>
        <th class="heightrow" style="font-size:12px">年最小蒸发量（蒸发皿）</th>
        <th class="heightrow" style="font-size:12px">年平均蒸发量（蒸发皿）</th>
        </tr>
        <%for (int i=0; i < 12; i++)
        {
    %>
    <tr>
        <td class="row1"><%:i+1 %>月</td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].rainfall_max)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].rainfall_min)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].ranfall_avg)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].evaporation_max)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].evaporation_min)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].evaporation_avg)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].pan_evaporation_max)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].pan_evaporation_min)%></td>
        <td class="row1"><%: Html.DisplayFor(model => model.Months[i].pan_evaporation_avg)%></td>
    </tr>
            
    <%} %>
    </table>

</asp:Content>
